#include <conio.h>
#include <iostream>
using namespace std;
int main()
{
	int x = 5;
	int y = 6;
	int *a = &x;
	*a = 10;
	a = &y;
	*a = 9;
	cout << x << "\n" << y;
	_getch();
}